<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport"
          content="width=device-width,height=device-height,inital-scale=1,maximum-scale=1.0,user-scalable=no">
    <meta name="apple-mobile-web-app-status-bar-style" content="black">
    <meta name="format-detection" content="telephone=no"/>
    <meta name="format-detection" content="email=no"/>
    <title>意见反馈</title>
    <link type="text/css" rel="stylesheet" href="css/common.css">
    <link type="text/css" rel="stylesheet" href="css/feedback.css">
</head>
<body>
<div class="feeback_main">
    <textarea placeholder="请输入您对海贝钱包的意见、建议或其他问题"></textarea>
    <button id="btn">提交</button>
</div>
</body>
<script type="text/javascript" src="js/jquery-3.2.1.js"></script>
<script type="text/javascript" src="js/common.js"></script>
<script>
    /**
     * 提交意见反馈
     */
    $("#btn").click(function(){
        var token = getQueryString("token");
        var content = $('.feeback_main textarea').val();
        $.ajax({
            url: 'https://wallet.seshell.cn/api/AppFeedback/postFeedback',
            type: 'POST',
            data: {content:content,token:token},
            dataType: "json",
            success:function(data){
                alert(data.data);
                window.history.go(-1);
            }
        })
    })
</script>
</html>